﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 借款单AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class LoanBillAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public LoanBillAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
					LoanMoney=0m; 
		
		
		
		
		
		
		
		
		
		
		
		
					ConfirmMoney=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        			if (this.LoanBillType != null) 
			{
				this.LoanBillType.DoSerializeKeyList(dict);
			}
	        			if (this.SOB != null) 
			{
				this.SOB.DoSerializeKeyList(dict);
			}
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        	        			if (this.LoanPerson != null) 
			{
				this.LoanPerson.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.LoanCurrency != null) 
			{
				this.LoanCurrency.DoSerializeKeyList(dict);
			}
	        			if (this.ExpenseItem != null) 
			{
				this.ExpenseItem.DoSerializeKeyList(dict);
			}
	        	        			if (this.EmployeeBankCardType != null) 
			{
				this.EmployeeBankCardType.DoSerializeKeyList(dict);
			}
	        			if (this.EmployeeBankCardNo != null) 
			{
				this.EmployeeBankCardNo.DoSerializeKeyList(dict);
			}
	        			if (this.Dept != null) 
			{
				this.Dept.DoSerializeKeyList(dict);
			}
	        			if (this.AccountPeriod != null) 
			{
				this.AccountPeriod.DoSerializeKeyList(dict);
			}
	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.LoanOrg != null) 
			{
				this.LoanOrg.DoSerializeKeyList(dict);
			}
	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        			if (this.LoanPersonOrg != null) 
			{
				this.LoanPersonOrg.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public LoanBillAITDTOData(  System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData loanBillType  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData sOB  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , System.String loanUse  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData loanPerson  , System.Decimal loanMoney  , System.String loanDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData loanCurrency  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData expenseItem  , System.String expectPayDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData employeeBankCardType  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData employeeBankCardNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData accountPeriod  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData loanOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData loanPersonOrg  , System.Decimal confirmMoney  )
		{
			initData();
			this.DocNo = docNo;
			this.LoanBillType = loanBillType;
			this.SOB = sOB;
			this.Org = org;
			this.LoanUse = loanUse;
			this.LoanPerson = loanPerson;
			this.LoanMoney = loanMoney;
			this.LoanDate = loanDate;
			this.LoanCurrency = loanCurrency;
			this.ExpenseItem = expenseItem;
			this.ExpectPayDate = expectPayDate;
			this.EmployeeBankCardType = employeeBankCardType;
			this.EmployeeBankCardNo = employeeBankCardNo;
			this.Dept = dept;
			this.AccountPeriod = accountPeriod;
			this.DescFlexField = descFlexField;
			this.LoanOrg = loanOrg;
			this.Project = project;
			this.LoanPersonOrg = loanPersonOrg;
			this.ConfirmMoney = confirmMoney;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 单号
		/// 借款单AITDTO.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款单类型
		/// 借款单AITDTO.Misc.借款单类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_loanBillType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData LoanBillType
		{
			get	
			{	
				return m_loanBillType ;
			}
			set	
			{	
				m_loanBillType = value ;	
			}
		}
			
		

		/// <summary>
		/// SOB
		/// 借款单AITDTO.Misc.SOB
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_sOB ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SOB
		{
			get	
			{	
				return m_sOB ;
			}
			set	
			{	
				m_sOB = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 借款单AITDTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 用途
		/// 借款单AITDTO.Misc.用途
		/// </summary>
		private System.String m_loanUse ;
		[DataMember(IsRequired=false)]
		public System.String LoanUse
		{
			get	
			{	
				return m_loanUse ;
			}
			set	
			{	
				m_loanUse = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款人
		/// 借款单AITDTO.Misc.借款人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_loanPerson ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData LoanPerson
		{
			get	
			{	
				return m_loanPerson ;
			}
			set	
			{	
				m_loanPerson = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款金额
		/// 借款单AITDTO.Misc.借款金额
		/// </summary>
		private System.Decimal m_loanMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal LoanMoney
		{
			get	
			{	
				return m_loanMoney ;
			}
			set	
			{	
				m_loanMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款日期
		/// 借款单AITDTO.Misc.借款日期
		/// </summary>
		private System.String m_loanDate ;
		[DataMember(IsRequired=false)]
		public System.String LoanDate
		{
			get	
			{	
				return m_loanDate ;
			}
			set	
			{	
				m_loanDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 币种
		/// 借款单AITDTO.Misc.币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_loanCurrency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData LoanCurrency
		{
			get	
			{	
				return m_loanCurrency ;
			}
			set	
			{	
				m_loanCurrency = value ;	
			}
		}
			
		

		/// <summary>
		/// 费用项目
		/// 借款单AITDTO.Misc.费用项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_expenseItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ExpenseItem
		{
			get	
			{	
				return m_expenseItem ;
			}
			set	
			{	
				m_expenseItem = value ;	
			}
		}
			
		

		/// <summary>
		/// 还款日期
		/// 借款单AITDTO.Misc.还款日期
		/// </summary>
		private System.String m_expectPayDate ;
		[DataMember(IsRequired=false)]
		public System.String ExpectPayDate
		{
			get	
			{	
				return m_expectPayDate ;
			}
			set	
			{	
				m_expectPayDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行卡类型
		/// 借款单AITDTO.Misc.银行卡类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_employeeBankCardType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData EmployeeBankCardType
		{
			get	
			{	
				return m_employeeBankCardType ;
			}
			set	
			{	
				m_employeeBankCardType = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行卡号
		/// 借款单AITDTO.Misc.银行卡号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_employeeBankCardNo ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData EmployeeBankCardNo
		{
			get	
			{	
				return m_employeeBankCardNo ;
			}
			set	
			{	
				m_employeeBankCardNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 部门
		/// 借款单AITDTO.Misc.部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Dept
		{
			get	
			{	
				return m_dept ;
			}
			set	
			{	
				m_dept = value ;	
			}
		}
			
		

		/// <summary>
		/// 期间
		/// 借款单AITDTO.Misc.期间
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_accountPeriod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AccountPeriod
		{
			get	
			{	
				return m_accountPeriod ;
			}
			set	
			{	
				m_accountPeriod = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 借款单AITDTO.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款组织
		/// 借款单AITDTO.Misc.借款组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_loanOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData LoanOrg
		{
			get	
			{	
				return m_loanOrg ;
			}
			set	
			{	
				m_loanOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 借款单AITDTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 借款人组织
		/// 借款单AITDTO.Misc.借款人组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_loanPersonOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData LoanPersonOrg
		{
			get	
			{	
				return m_loanPersonOrg ;
			}
			set	
			{	
				m_loanPersonOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 确认金额
		/// 借款单AITDTO.Misc.确认金额
		/// </summary>
		private System.Decimal m_confirmMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal ConfirmMoney
		{
			get	
			{	
				return m_confirmMoney ;
			}
			set	
			{	
				m_confirmMoney = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																								
		#endregion 
	} 	
}
